package com.example.factory.core.domain;


import javax.persistence.*;
import java.util.List;

/**
 * @author Lei Tao
 */
@Entity
@Table(name = "factory")
public class FactoryEntity extends DomainObject {

    private String name;
    /**
     * 工厂类型
     */

    private String type;
    /**
     * 工厂规模
     */

    private String scale;
    /**
     * 工厂位置
     */

    private String position;
    /**
     * 工厂老板
     */
    private String boss;
    /**
     * 工厂电话
     */
    private String phone;



    public FactoryEntity() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getBoss() {
        return boss;
    }

    public void setBoss(String boss) {
        this.boss = boss;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
